<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<!-- 写js代码的地方 -->
<script>
    // 需求描述： 编写函数计算传入两个参数返回相乘的结果
    function getResult(num1, num2) {
        return num1 * num2;
    }
    //调用并输出
    console.log(getResult(5, 6));
</script>

</html>